#pragma once

#include "stdafx.h"
#include "EnvObject.h"

class MarkerObject {
public:
	MarkerObject() {}
	MarkerObject(string mFile) { modelFile = mFile; }
	~MarkerObject() { Release(); }
	void Release();
	bool Initialize(LPDIRECT3DDEVICE9 pDevice);
	bool InitializeMesh(LPDIRECT3DDEVICE9 pDevice);
	void Update(float elapsedTime);
	void Render(LPDIRECT3DDEVICE9 pDevice);

public:
	Mesh			mesh;
	MeshInstance	meshInst;
	string			modelFile;
	float			rotationSpeed;
	EnvObject*		envObj;
};
